package com.example.yingpianguanlixitong.MainClass;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysMovie implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "movieId ", type = IdType.AUTO)
    private Long movieId;

    //电影名称
    @NotBlank(message = "电影名称不能为空")
    private String movieName;

    //电影时长
    private Integer movieLength;

    //电影海报
    private String moviePoster;

    private String movieArea;

    //上映日期
    private Date releaseDate;

    //电影总票房
    private Double movieBoxOffice;

    //电影简介
    private String movieIntroduction;

    //电影图集
    private String moviePictures;

    //电影的类别
    private List<SysMovieCategory> movieCategoryList;

}
